<template >
    <div >
        <h1> 学生姓名:{{name}}</h1>
        <h1>年龄:{{age}}</h1>
    </div>
</template>
<script>
export default {
    name:'StudentName',
    data() {
        return {
            name:'清华',
            age: 18
        }
    }
   }
</script>
